package com.zuipin.entity.shoppingCart;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;

/**
 * @description : 购物车
 * @author : wuhaijun
 * @date : 2017年4月19日 下午3:43:02
 */
@SuppressWarnings("serial")
public class ShoppingCart implements Serializable {
	
	private Long				id;											// 购物车ID
	
	private Long				proId;										// 商品ID
	
	private Long				buyerId;									// 买家ID
	
	private Long				sellerId;									// 卖家ID
	
	private Integer				buyNum;										// 购买数量
	
	private String				addTime;									// 加入购物车时间
	
	private Long				packId;										// 泡带ID
	
	private String				packCode;									// 泡带编码
	
	private BigDecimal			packSuttle;									// 泡袋净重
	
	private BigDecimal			actualPayPrice;								// 实际支付价格
	
	private Long				sysId;										// 系统ID
	
	private BigDecimal			formerPrice;								// 原价
	
	private BigDecimal			priorityPrice;								// 优先价格
	
	private String				proSku;										// 商品SKU
	
	private String				proName;									// 商品名称
	
	private String				imageUrl;									// 商品图片
	
	private Integer				giveIintegral;								// 赠送积分
	
	private BigDecimal			subtotal;									// 小计
	
	private BigDecimal			weight;										// 重量
	
	private BigDecimal			useRuleSum;									// 每款商品所均摊的购物车优惠金额
	
	private BigDecimal			actualPaySubtotal;							// 实际支付小计
	
	private String				businessType;								// 业务类型
	
	private BigDecimal			useRedPacketAmount	= new BigDecimal(0.00);	// 每款商品所使用的红包金额
	
	private Short				isPremium;									// 是不是赠品 1 是 0不是
	
	private Long				ruleId;										// 规则ID
	
	private String				ruleName;									// 规则名称
	
	private String				limitMsg;									// 限制信息（库存不足）
	
	private BigDecimal			actualPayIntegral;							// 实付积分（单价）
	
	private Integer				actualPayIntegralSum;						// 实付积分小计（实付积分*数量）
	
	private Integer				integralPrice;								// 积分原价（单价）
	
	private Integer				integralSubtotal;							// 积分小计（积分原价*数量）
	
	private Short				isIntegralPro;								// 是否是积分商品 1是 0不是
	
	public static final Short	PREMIUM_YES			= 1;					// 赠品
	
	public static final Short	PREMIUM_NO			= 0;					// 不是赠品
	
	/**
	 * 是否是积分商品 1是 0不是
	 */
	public static final Short	INTEGRAL_PRO_YES_1	= 1;
	public static final Short	INTEGRAL_PRO_NO_0	= 0;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getProId() {
		return proId;
	}
	
	public void setProId(Long proId) {
		this.proId = proId;
	}
	
	public Long getBuyerId() {
		return buyerId;
	}
	
	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}
	
	public Long getSellerId() {
		return sellerId;
	}
	
	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}
	
	public Integer getBuyNum() {
		return buyNum;
	}
	
	public void setBuyNum(Integer buyNum) {
		this.buyNum = buyNum;
	}
	
	public String getAddTime() {
		return addTime;
	}
	
	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}
	
	public Long getPackId() {
		return packId;
	}
	
	public void setPackId(Long packId) {
		this.packId = packId;
	}
	
	public String getPackCode() {
		return packCode;
	}
	
	public void setPackCode(String packCode) {
		this.packCode = packCode;
	}
	
	public BigDecimal getPackSuttle() {
		return packSuttle;
	}
	
	public void setPackSuttle(BigDecimal packSuttle) {
		this.packSuttle = packSuttle;
	}
	
	public BigDecimal getActualPayPrice() {
		return actualPayPrice;
	}
	
	public void setActualPayPrice(BigDecimal actualPayPrice) {
		this.actualPayPrice = actualPayPrice;
	}
	
	public Long getSysId() {
		return sysId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	public BigDecimal getFormerPrice() {
		return formerPrice;
	}
	
	public void setFormerPrice(BigDecimal formerPrice) {
		this.formerPrice = formerPrice;
	}
	
	public BigDecimal getPriorityPrice() {
		return priorityPrice;
	}
	
	public void setPriorityPrice(BigDecimal priorityPrice) {
		this.priorityPrice = priorityPrice;
	}
	
	public String getProSku() {
		return proSku;
	}
	
	public void setProSku(String proSku) {
		this.proSku = proSku;
	}
	
	public String getProName() {
		return proName;
	}
	
	public void setProName(String proName) {
		this.proName = proName;
	}
	
	public String getImageUrl() {
		return imageUrl;
	}
	
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	
	public Integer getGiveIintegral() {
		return giveIintegral;
	}
	
	public void setGiveIintegral(Integer giveIintegral) {
		this.giveIintegral = giveIintegral;
	}
	
	public BigDecimal getSubtotal() {
		return subtotal;
	}
	
	public void setSubtotal(BigDecimal subtotal) {
		this.subtotal = subtotal;
	}
	
	public BigDecimal getWeight() {
		return weight;
	}
	
	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}
	
	public BigDecimal getUseRedPacketAmount() {
		return useRedPacketAmount;
	}
	
	public void setUseRedPacketAmount(BigDecimal useRedPacketAmount) {
		this.useRedPacketAmount = useRedPacketAmount;
	}
	
	public String getBusinessType() {
		return businessType;
	}
	
	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}
	
	public BigDecimal getUseRuleSum() {
		return useRuleSum;
	}
	
	public void setUseRuleSum(BigDecimal useRuleSum) {
		this.useRuleSum = useRuleSum;
	}
	
	public BigDecimal getActualPaySubtotal() {
		return actualPaySubtotal;
	}
	
	public void setActualPaySubtotal(BigDecimal actualPaySubtotal) {
		this.actualPaySubtotal = actualPaySubtotal;
	}
	
	public Short getIsPremium() {
		return isPremium;
	}
	
	public void setIsPremium(Short isPremium) {
		this.isPremium = isPremium;
	}
	
	/**
	 * @return the ruleId
	 */
	public Long getRuleId() {
		return ruleId;
	}
	
	/**
	 * @param ruleId the ruleId to set
	 */
	public void setRuleId(Long ruleId) {
		this.ruleId = ruleId;
	}
	
	/**
	 * @return the ruleName
	 */
	public String getRuleName() {
		return ruleName;
	}
	
	/**
	 * @param ruleName the ruleName to set
	 */
	public void setRuleName(String ruleName) {
		this.ruleName = ruleName;
	}
	
	@ApiModelProperty(value = "限制信息（库存不足）")
	public String getLimitMsg() {
		return limitMsg;
	}
	
	public void setLimitMsg(String limitMsg) {
		this.limitMsg = limitMsg;
	}
	
	@ApiModelProperty(value = "实付积分（单价）")
	public BigDecimal getActualPayIntegral() {
		return actualPayIntegral;
	}
	
	public void setActualPayIntegral(BigDecimal actualPayIntegral) {
		this.actualPayIntegral = actualPayIntegral;
	}
	
	@ApiModelProperty(value = "实付积分小计（实付积分*数量）")
	public Integer getActualPayIntegralSum() {
		return actualPayIntegralSum;
	}
	
	public void setActualPayIntegralSum(Integer actualPayIntegralSum) {
		this.actualPayIntegralSum = actualPayIntegralSum;
	}
	
	@ApiModelProperty(value = "积分原价")
	public Integer getIntegralPrice() {
		return integralPrice;
	}
	
	public void setIntegralPrice(Integer integralPrice) {
		this.integralPrice = integralPrice;
	}
	
	@ApiModelProperty(value = "积分小计（积分原价*数量）")
	public Integer getIntegralSubtotal() {
		return integralSubtotal;
	}
	
	public void setIntegralSubtotal(Integer integralSubtotal) {
		this.integralSubtotal = integralSubtotal;
	}
	
	@ApiModelProperty(value = "是否是积分商品 1是 0不是")
	public Short getIsIntegralPro() {
		return isIntegralPro;
	}
	
	public void setIsIntegralPro(Short isIntegralPro) {
		this.isIntegralPro = isIntegralPro;
	}
	
}
